package link.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Map;

/**
 * 配置信息
 */
public class ConfigInfoVo implements Serializable {

  private static final long serialVersionUID = 6235139760711819121L;
  /**
   * 本次配置文件签名
   */
  public String sign;

  /**
   * 新房配置信息
   */
  public ConfigItemList configNewHouse;

  /**
   * 一些全局配置开关
   * key值如下，val为布尔值，true表示开，false或者key不存在表示关
   * IS_FANG_KE：房客源城市
   * IS_NEWHOUSE,新房城市
   */
  public Map<String, Boolean> switchView;

  public static class ConfigItemList implements Serializable {

    private static final long serialVersionUID = -1496164724477766429L;
    public ArrayList<ConfigItemInfoVo> mymenu;
    public ArrayList<ConfigItemInfoVo> tab;
    public ArrayList<ConfigItemInfoVo> msglist;
    // 首页九宫格
    public ArrayList<ConfigItemInfoVo> box;
    public ArrayList<ConfigItemInfoVo> banner;
  }

  public class ConfigItemInfoVo implements Serializable {

    private static final long serialVersionUID = -1870300609644021278L;
    public String id;
    public String title;
    public String img;
    public String actionUrl;
    public String sortNum;
    public String remark;
  }
}



